package kr.hkit.powerjava.s;

import java.util.Scanner;

public class 문자열바꾸기 {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);

		System.out.println("문자를 입력하시오.(영어)");
		String a = input.next();
		String s = new String(a);
		String b = null;
		for (int i = s.length() - 1; i >= 0; i--) {

			System.out.print(s.charAt(i));

		}

	}

}
